]> dgit.raspbian.org Git - gnome-shell.git/commit
keyboardManager: Use layout id when reapplying
authorSebastian Keller <skeller@gnome.org>
Thu, 30 Apr 2026 01:44:57 +0000 (03:44 +0200)
committerMarge Bot <marge-bot@gnome.org>
Thu, 30 Apr 2026 10:58:50 +0000 (10:58 +0000)
commitb154abd6608ecd64916fdfeea70eb72e1f9686df
tree51104564005767e77efa0ad4b1d1308e9bb2d35a
parent0f62a0ff12047c675c9a2fe19dbe9c72915924c3
keyboardManager: Use layout id when reapplying

`_doApply()` expects the id rather than the layout info itself. Passing
the layout info caused the lookup to fail and the function to exit
early. This was preventing `xkb-option` or `xkb-model` settings from
applying when changed.

Fixes: 0f9034687 ("status/keyboard: Adapt to external source of keyboard layout")
Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/work_items/9197
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4205>
js/misc/keyboardManager.js